//
//  ZGLPlayHomeSecondTVC.m
//  Faker
//
//  Created by dllo on 15/10/30.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "ZGLPlayHomeSecondTVC.h"

@implementation ZGLPlayHomeSecondTVC

- (void)awakeFromNib {
    // Initialization code
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.titleLabel = [[UILabel alloc] init];
        self.contentLabel = [[UILabel alloc] init];
        self.mainImage = [[UIImageView alloc] init];
        [self.contentView addSubview:self.titleLabel];
        [self.contentView addSubview:self.contentLabel];
        [self.contentView addSubview:self.mainImage];
        
    }
    return self;
}

-(void)layoutSubviews {
    [super layoutSubviews];
    self.mainImage.frame = CGRectMake(0, 0, Width, 180 * ScaleY);
    self.mainImage.backgroundColor = foreColor;
    self.titleLabel.textAlignment = 1;
    self.titleLabel.textColor = artiColor;
    self.titleLabel.frame = CGRectMake(40 * ScaleX, 190 * ScaleX, 295 * ScaleX, 30 * ScaleX);
    self.contentLabel.frame = CGRectMake(20 * ScaleX, 220 * ScaleX, 335 * ScaleX, 20 * ScaleX);
    self.contentLabel.textColor = artiColor;
    self.contentLabel.textAlignment = 1;
    self.contentLabel.font = [UIFont systemFontOfSize:13];
    self.contentView.backgroundColor = foreColor;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
